package com.google.code.bankagregator.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Parent class annotate create entity manager field
 * User: kaiser
 * Date: 6/22/13
 * Time: 10:42 PM
 */
public class DAO {

    @PersistenceContext(unitName = "baPool")
    protected EntityManager entityManager;

    protected EntityManager getEntityManager() {
        return entityManager;
    }
}
